home *** CD-ROM | disk | FTP | other *** search
/ Keystone Learning XML: Entities & Basic Scripting / Keystone Learning XML Entities and Basic Scripting.iso / Sample Files / Chapter 6 / Employees.xml < prev    next >
Encoding:
Extensible Markup Language  |  1999-12-08  |  1.0 KB  |  42 lines

  1. <?xml version="1.0" standalone="yes"?>
  2. <!DOCTYPE employees SYSTEM "Employees.dtd" [
  3. <!-- Declare the internal subset here -->
  4. ]>
  5.  
  6. <employees>
  7.  
  8.     <employee id="A1234">
  9.         <name>
  10.             <first>John</first>
  11.             <last>Doe</last>
  12.         </name>
  13.         <position>Programmer</position>
  14.         <address>
  15.             <street>123 Main Street</street>
  16.             <city>Anywhere</city>
  17.             <state>CA</state>
  18.             <zip>92000</zip>
  19.         </address>
  20.         <phone>
  21.             <main>(714) 555-1000</main>
  22.             <fax>(714) 555-1001</fax>
  23.         </phone>
  24.     </employee>
  25.  
  26.     <employee id="A2345">
  27.         <name>
  28.             <first>Jane</first>
  29.             <last>Doe</last>
  30.         </name>
  31.         <position>Systems Analyst</position>
  32.         <address>
  33.         </address>
  34.         <phone>
  35.             <main>(714) 555-2000</main>
  36.             <mobile>(949) 555-2200</mobile>
  37.             <home>(949) 555-2220</home>
  38.         </phone>
  39.     </employee>
  40.  
  41. </employees>
  42.